package com.ohos.connent.modelcloud.biz.modular.pro.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @Author: ChenJiaHao
 * @Date: 2024/5/31 15:11
 * @Description:
 */
@Getter
@Setter
public class BizProCategoryAddParam {

    /** 中文名称 */
    @ApiModelProperty(value = "中文名称", position = 1)
    @NotEmpty(message = "中文名称不能为空")
    private String chineseName;

    /** 英文名称 */
    @ApiModelProperty(value = "英文名称", position = 2)
    private String englishName;

    /** iconId */
    @ApiModelProperty(value = "iconId", position = 3)
    private String iconId;

    /** parentId */
    @ApiModelProperty(value = "品类字典ID", position = 4)
    @NotEmpty(message = "parentId不能为空")
    private String parentId;

    /** fileId */
    @ApiModelProperty(value = "fileId", position = 5)
    @NotEmpty(message = "fileId不能为空")
    private String fileId;

    /** 同层级时的顺序 */
    @ApiModelProperty(value = "同层级时的顺序", position = 2)
    private Integer sort;

    /** 层级 */
    @ApiModelProperty(value = "层级", position = 3)
    private Integer level;
}
